package com.google.code.pdfbrick.merger;

import java.util.ArrayList;
import java.util.List;

import com.google.code.pdfbrick.engine.command.FilePageRange;

public class MergeCommandParams {

	private String desFilePath;
	private List<FilePageRange> srcFilePageRanges;
	
	public String getDesFilePath() {
		return desFilePath;
	}
	public void setDesFilePath(final String desFilePath) {
		this.desFilePath = desFilePath;
	}
	public List<FilePageRange> getSrcFilePageRanges() {
		return srcFilePageRanges;
	}
	public void setSrcFilePageRanges(final List<FilePageRange> srcFilePageRanges) {
		this.srcFilePageRanges = srcFilePageRanges;
	}
	
	public void addFilePageRange(final FilePageRange filePageRange){
		if(srcFilePageRanges==null){
			srcFilePageRanges=new ArrayList<FilePageRange>();
		}
		srcFilePageRanges.add(filePageRange);
	}
}
